<?php

/**
 * Configurações de servidor de emails
 * @author Ricardo Alvarenga
 */
class Application_Model_ConfigSmtp
{
    /**
     * Lista todas as contas smtp
     * @return ArrayObject;
     */
    public function listaAllContaAtiva ()
    {
        $sql = "SELECT * 
        		FROM config_smtp cs 
        		WHERE cs.status = 1 
        		ORDER BY smtp DESC";
        $result = mysql_fetch_array(mysql_query($sql));
        return $result;
    }

}


